package com.jxsd.edu.cn.struts2.serviceImpl;

import com.jxsd.edu.cn.struts2.dao.StoreDao;
import com.jxsd.edu.cn.struts2.daoImpl.StoreDaoImpl;
import com.jxsd.edu.cn.struts2.models.Pmsgstoreview;
import com.jxsd.edu.cn.struts2.services.StoreService;
import com.jxsd.edu.cn.tools.Page;
import com.jxsd.edu.cn.tools.PageBean;

public class StoreServiceImpl implements StoreService 
{
     private   StoreDao  dao=new  StoreDaoImpl();
	@Override
	public void addstore(Pmsgstoreview  store) 
	{
	     dao.addstore(store);
	}

	@Override
	public void deletestore(String  publishId) {
		dao.deletestore(publishId);
	}

	@Override
	public Page<Pmsgstoreview> getPersonStores(
			PageBean<Pmsgstoreview> pagebean, String userId) {
		return dao.getPersonStores(pagebean, userId);
	}

	@Override
	public Pmsgstoreview getPmsgstore(String publishId) {
		return dao.getPmsgstore(publishId);
	}

}
